package com.yike.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.user.entity.ShopBindingApply;

import com.yike.user.param.ShopBindingPageParam;
import com.yike.user.vo.ShopBindingVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.io.Serializable;

/**
 * 店铺绑定申请表 Mapper 接口
 *
 * @author Sakura
 * @since 2024-09-03
 */
@Mapper
public interface ShopBindingApplyMapper extends BaseMapper<ShopBindingApply> {

    IPage<ShopBindingVo> getShopBindingApplyList(@Param("page") Page page, @Param("agentId") Long agentId,
                                                 @Param("merchantId") Long merchantId, @Param("param") ShopBindingPageParam param);

    ShopBindingVo getShopBindingApply(@Param("id") Long id);


}
